package com.youlian.cloud.gateway.api.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.LinkedHashMap;
import java.util.Map;

/**
 * @author tangy
 */
@ApiModel(description = "Token认证请求对象")
public class TokenAuthRequest {

    @ApiModelProperty(value = "token", name = "token", required = true, example = "xxxxx")
    private String token;
    @ApiModelProperty(value = "用户编号", name = "userId", required = true, example = "用户编号")
    private String userId;
    @ApiModelProperty(value = "用户类型", name = "userType", required = true, example = "用户类型")
    private String userType;
    @ApiModelProperty(value = "请求header头", name = "propertyMap", required = true, example = "用户拓展参数")
    private Map<String, String> propertyMap = new LinkedHashMap<>();

    public Map<String, String> getPropertyMap() {
        return propertyMap;
    }

    public void setPropertyMap(Map<String, String> propertyMap) {
        this.propertyMap = propertyMap;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }
}
